package com.xbx.zuul.dataobject;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class UserDOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("USERNAME is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("USERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("USERNAME =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("USERNAME <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("USERNAME >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("USERNAME >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("USERNAME <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("USERNAME <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("USERNAME like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("USERNAME not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("USERNAME in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("USERNAME not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("USERNAME between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("USERNAME not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andTypeCodeIsNull() {
            addCriterion("TYPE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andTypeCodeIsNotNull() {
            addCriterion("TYPE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeCodeEqualTo(Boolean value) {
            addCriterion("TYPE_CODE =", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeNotEqualTo(Boolean value) {
            addCriterion("TYPE_CODE <>", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeGreaterThan(Boolean value) {
            addCriterion("TYPE_CODE >", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("TYPE_CODE >=", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeLessThan(Boolean value) {
            addCriterion("TYPE_CODE <", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeLessThanOrEqualTo(Boolean value) {
            addCriterion("TYPE_CODE <=", value, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeIn(List<Boolean> values) {
            addCriterion("TYPE_CODE in", values, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeNotIn(List<Boolean> values) {
            addCriterion("TYPE_CODE not in", values, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeBetween(Boolean value1, Boolean value2) {
            addCriterion("TYPE_CODE between", value1, value2, "typeCode");
            return (Criteria) this;
        }

        public Criteria andTypeCodeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("TYPE_CODE not between", value1, value2, "typeCode");
            return (Criteria) this;
        }

        public Criteria andPwdIsNull() {
            addCriterion("PWD is null");
            return (Criteria) this;
        }

        public Criteria andPwdIsNotNull() {
            addCriterion("PWD is not null");
            return (Criteria) this;
        }

        public Criteria andPwdEqualTo(String value) {
            addCriterion("PWD =", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotEqualTo(String value) {
            addCriterion("PWD <>", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThan(String value) {
            addCriterion("PWD >", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThanOrEqualTo(String value) {
            addCriterion("PWD >=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThan(String value) {
            addCriterion("PWD <", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThanOrEqualTo(String value) {
            addCriterion("PWD <=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLike(String value) {
            addCriterion("PWD like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotLike(String value) {
            addCriterion("PWD not like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdIn(List<String> values) {
            addCriterion("PWD in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotIn(List<String> values) {
            addCriterion("PWD not in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdBetween(String value1, String value2) {
            addCriterion("PWD between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotBetween(String value1, String value2) {
            addCriterion("PWD not between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmIsNull() {
            addCriterion("PWD_MODIFY_TM is null");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmIsNotNull() {
            addCriterion("PWD_MODIFY_TM is not null");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmEqualTo(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM =", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmNotEqualTo(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM <>", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmGreaterThan(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM >", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM >=", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmLessThan(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM <", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("PWD_MODIFY_TM <=", value, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmIn(List<Date> values) {
            addCriterionForJDBCDate("PWD_MODIFY_TM in", values, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmNotIn(List<Date> values) {
            addCriterionForJDBCDate("PWD_MODIFY_TM not in", values, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PWD_MODIFY_TM between", value1, value2, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andPwdModifyTmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("PWD_MODIFY_TM not between", value1, value2, "pwdModifyTm");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Boolean value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Boolean value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Boolean value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Boolean value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Boolean> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Boolean> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andActiveTmIsNull() {
            addCriterion("ACTIVE_TM is null");
            return (Criteria) this;
        }

        public Criteria andActiveTmIsNotNull() {
            addCriterion("ACTIVE_TM is not null");
            return (Criteria) this;
        }

        public Criteria andActiveTmEqualTo(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM =", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmNotEqualTo(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM <>", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmGreaterThan(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM >", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM >=", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmLessThan(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM <", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ACTIVE_TM <=", value, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmIn(List<Date> values) {
            addCriterionForJDBCDate("ACTIVE_TM in", values, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmNotIn(List<Date> values) {
            addCriterionForJDBCDate("ACTIVE_TM not in", values, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ACTIVE_TM between", value1, value2, "activeTm");
            return (Criteria) this;
        }

        public Criteria andActiveTmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ACTIVE_TM not between", value1, value2, "activeTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmIsNull() {
            addCriterion("DEACTIVE_TM is null");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmIsNotNull() {
            addCriterion("DEACTIVE_TM is not null");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmEqualTo(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM =", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmNotEqualTo(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM <>", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmGreaterThan(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM >", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM >=", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmLessThan(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM <", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DEACTIVE_TM <=", value, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmIn(List<Date> values) {
            addCriterionForJDBCDate("DEACTIVE_TM in", values, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmNotIn(List<Date> values) {
            addCriterionForJDBCDate("DEACTIVE_TM not in", values, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DEACTIVE_TM between", value1, value2, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andDeactiveTmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DEACTIVE_TM not between", value1, value2, "deactiveTm");
            return (Criteria) this;
        }

        public Criteria andModifierUserIsNull() {
            addCriterion("MODIFIER_USER is null");
            return (Criteria) this;
        }

        public Criteria andModifierUserIsNotNull() {
            addCriterion("MODIFIER_USER is not null");
            return (Criteria) this;
        }

        public Criteria andModifierUserEqualTo(String value) {
            addCriterion("MODIFIER_USER =", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserNotEqualTo(String value) {
            addCriterion("MODIFIER_USER <>", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserGreaterThan(String value) {
            addCriterion("MODIFIER_USER >", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserGreaterThanOrEqualTo(String value) {
            addCriterion("MODIFIER_USER >=", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserLessThan(String value) {
            addCriterion("MODIFIER_USER <", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserLessThanOrEqualTo(String value) {
            addCriterion("MODIFIER_USER <=", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserLike(String value) {
            addCriterion("MODIFIER_USER like", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserNotLike(String value) {
            addCriterion("MODIFIER_USER not like", value, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserIn(List<String> values) {
            addCriterion("MODIFIER_USER in", values, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserNotIn(List<String> values) {
            addCriterion("MODIFIER_USER not in", values, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserBetween(String value1, String value2) {
            addCriterion("MODIFIER_USER between", value1, value2, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifierUserNotBetween(String value1, String value2) {
            addCriterion("MODIFIER_USER not between", value1, value2, "modifierUser");
            return (Criteria) this;
        }

        public Criteria andModifyTmIsNull() {
            addCriterion("MODIFY_TM is null");
            return (Criteria) this;
        }

        public Criteria andModifyTmIsNotNull() {
            addCriterion("MODIFY_TM is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTmEqualTo(Date value) {
            addCriterion("MODIFY_TM =", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmNotEqualTo(Date value) {
            addCriterion("MODIFY_TM <>", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmGreaterThan(Date value) {
            addCriterion("MODIFY_TM >", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmGreaterThanOrEqualTo(Date value) {
            addCriterion("MODIFY_TM >=", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmLessThan(Date value) {
            addCriterion("MODIFY_TM <", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmLessThanOrEqualTo(Date value) {
            addCriterion("MODIFY_TM <=", value, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmIn(List<Date> values) {
            addCriterion("MODIFY_TM in", values, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmNotIn(List<Date> values) {
            addCriterion("MODIFY_TM not in", values, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmBetween(Date value1, Date value2) {
            addCriterion("MODIFY_TM between", value1, value2, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andModifyTmNotBetween(Date value1, Date value2) {
            addCriterion("MODIFY_TM not between", value1, value2, "modifyTm");
            return (Criteria) this;
        }

        public Criteria andCreatorUserIsNull() {
            addCriterion("CREATOR_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreatorUserIsNotNull() {
            addCriterion("CREATOR_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorUserEqualTo(String value) {
            addCriterion("CREATOR_USER =", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserNotEqualTo(String value) {
            addCriterion("CREATOR_USER <>", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserGreaterThan(String value) {
            addCriterion("CREATOR_USER >", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATOR_USER >=", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserLessThan(String value) {
            addCriterion("CREATOR_USER <", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserLessThanOrEqualTo(String value) {
            addCriterion("CREATOR_USER <=", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserLike(String value) {
            addCriterion("CREATOR_USER like", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserNotLike(String value) {
            addCriterion("CREATOR_USER not like", value, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserIn(List<String> values) {
            addCriterion("CREATOR_USER in", values, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserNotIn(List<String> values) {
            addCriterion("CREATOR_USER not in", values, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserBetween(String value1, String value2) {
            addCriterion("CREATOR_USER between", value1, value2, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreatorUserNotBetween(String value1, String value2) {
            addCriterion("CREATOR_USER not between", value1, value2, "creatorUser");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("CREATE_TM is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("CREATE_TM is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("CREATE_TM =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("CREATE_TM <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("CREATE_TM >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TM >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("CREATE_TM <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TM <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("CREATE_TM in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("CREATE_TM not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("CREATE_TM between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TM not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andRegionAreaIsNull() {
            addCriterion("region_area is null");
            return (Criteria) this;
        }

        public Criteria andRegionAreaIsNotNull() {
            addCriterion("region_area is not null");
            return (Criteria) this;
        }

        public Criteria andRegionAreaEqualTo(String value) {
            addCriterion("region_area =", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaNotEqualTo(String value) {
            addCriterion("region_area <>", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaGreaterThan(String value) {
            addCriterion("region_area >", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaGreaterThanOrEqualTo(String value) {
            addCriterion("region_area >=", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaLessThan(String value) {
            addCriterion("region_area <", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaLessThanOrEqualTo(String value) {
            addCriterion("region_area <=", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaLike(String value) {
            addCriterion("region_area like", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaNotLike(String value) {
            addCriterion("region_area not like", value, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaIn(List<String> values) {
            addCriterion("region_area in", values, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaNotIn(List<String> values) {
            addCriterion("region_area not in", values, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaBetween(String value1, String value2) {
            addCriterion("region_area between", value1, value2, "regionArea");
            return (Criteria) this;
        }

        public Criteria andRegionAreaNotBetween(String value1, String value2) {
            addCriterion("region_area not between", value1, value2, "regionArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaIsNull() {
            addCriterion("sub_area is null");
            return (Criteria) this;
        }

        public Criteria andSubAreaIsNotNull() {
            addCriterion("sub_area is not null");
            return (Criteria) this;
        }

        public Criteria andSubAreaEqualTo(String value) {
            addCriterion("sub_area =", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaNotEqualTo(String value) {
            addCriterion("sub_area <>", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaGreaterThan(String value) {
            addCriterion("sub_area >", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaGreaterThanOrEqualTo(String value) {
            addCriterion("sub_area >=", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaLessThan(String value) {
            addCriterion("sub_area <", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaLessThanOrEqualTo(String value) {
            addCriterion("sub_area <=", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaLike(String value) {
            addCriterion("sub_area like", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaNotLike(String value) {
            addCriterion("sub_area not like", value, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaIn(List<String> values) {
            addCriterion("sub_area in", values, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaNotIn(List<String> values) {
            addCriterion("sub_area not in", values, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaBetween(String value1, String value2) {
            addCriterion("sub_area between", value1, value2, "subArea");
            return (Criteria) this;
        }

        public Criteria andSubAreaNotBetween(String value1, String value2) {
            addCriterion("sub_area not between", value1, value2, "subArea");
            return (Criteria) this;
        }

        public Criteria andSysUsernameIsNull() {
            addCriterion("sys_username is null");
            return (Criteria) this;
        }

        public Criteria andSysUsernameIsNotNull() {
            addCriterion("sys_username is not null");
            return (Criteria) this;
        }

        public Criteria andSysUsernameEqualTo(String value) {
            addCriterion("sys_username =", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameNotEqualTo(String value) {
            addCriterion("sys_username <>", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameGreaterThan(String value) {
            addCriterion("sys_username >", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("sys_username >=", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameLessThan(String value) {
            addCriterion("sys_username <", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameLessThanOrEqualTo(String value) {
            addCriterion("sys_username <=", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameLike(String value) {
            addCriterion("sys_username like", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameNotLike(String value) {
            addCriterion("sys_username not like", value, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameIn(List<String> values) {
            addCriterion("sys_username in", values, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameNotIn(List<String> values) {
            addCriterion("sys_username not in", values, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameBetween(String value1, String value2) {
            addCriterion("sys_username between", value1, value2, "sysUsername");
            return (Criteria) this;
        }

        public Criteria andSysUsernameNotBetween(String value1, String value2) {
            addCriterion("sys_username not between", value1, value2, "sysUsername");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}